package org.example.api;


import org.example.common.Result;
import org.example.model.User;

public interface UserApi {

    Result<User> saveUser(User user);

    Result<User> getUserById(Long userId);

    Result<User> login(String username, String password);
}
